package cn.vawn.exam.mapper;

import cn.vawn.exam.entity.QuestionSerial;

import java.util.List;

public interface QuestionSerialMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(QuestionSerial record);

    int insertSelective(QuestionSerial record);

    QuestionSerial selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(QuestionSerial record);

    int updateByPrimaryKey(QuestionSerial record);

    /*
	 *
	 */
    void insertQuestionSerial(QuestionSerial questionSerial);

    /*
     *
     */
    QuestionSerial selectQuestionSerialById(QuestionSerial questionSerial);

    /*
     *
     */
    void updateQuestionSerialById(QuestionSerial questionSerial);

    void dlt(int paperId);

    List<Integer> getAllQuestionId();
}